<?php

/**
 * Techos form base class.
 *
 * @method Techos getObject() Returns the current form's model object
 *
 * @package    SistemaWebUnlSenescyt
 * @subpackage form
 * @author     JFernando
 * @version    SVN: $Id: sfDoctrineFormGeneratedInheritanceTemplate.php 29553 2010-05-20 14:33:00Z Kris.Wallsmith $
 */
abstract class BaseTechosForm extends TechosPresupuestariosForm
{
  protected function setupInheritance()
  {
    parent::setupInheritance();

    $this->widgetSchema   ['id_pro'] = new sfWidgetFormInputText();
    $this->validatorSchema['id_pro'] = new sfValidatorInteger();

    $this->widgetSchema->setNameFormat('techos[%s]');
  }

  public function getModelName()
  {
    return 'Techos';
  }

}
